package com.mwx.loseweight.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.mwx.loseweight.common.result.Result;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;

/**
 * @author Luruichuan
 */
@RestController
@RequestMapping("/test")
@Tag(name = "test")
public class TestController {

    @GetMapping("/test")
    @Operation(summary = "test")
    public Result<?> test() {
        return Result.success("生日快乐！");
    }

}
